//
//  NetWay.m
//  carcareIOS
//
//  Created by ileo on 15/6/26.
//  Copyright (c) 2015年 baozun. All rights reserved.
//

#import "NetWay.h"
#import "AIUserInfo.h"

@implementation NetWay

+(NetWay *)wayGpsInfosFrom:(NSString *)startTime to:(NSString *)endTime{
    return [__SELF request:@"/travels/gpsTrack" withParams:@{@"startTime":startTime, @"endTime":endTime} type:REQUEST_POST];
}
#pragma mark -
-(NSDictionary *)requestCommonParams{
    if (![USERINFO.session isNotNil]) {
        return nil;
    }
    return @{@"imei":USERINFO.pastDevice,@"userid":@(USERINFO.userID),@"session":USERINFO.session};
}


@end
